HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpskycap/wp-content/plugins/defender-security/assets/js/idle-session.js
(self.webpackChunkwp_defender=self.webpackChunkwp_defender||[]).push([[73],{4028:()=>{var e;"undefined"==typeof wpdef_idle_params&&console.warn("wpdef_idle_params is undefined. Ensure it is properly set for idle detection.");var t,n="undefined"!=typeof wpdef_idle_params&&wpdef_idle_params.timeout?1e3*Math.min(Number((null===(e=wpdef_idle_params)||void 0===e?void 0:e.timeout)||60),2147483):6e4,i=Math.random().toString(36).substring(2,11),a="active",d="undefined"!=typeof BroadcastChannel,o=d?new BroadcastChannel("idle-detection-channel"):null;function s(e){d&&o&&o.postMessage({state:e,timestamp:Date.now(),tabId:i})}function r(){"undefined"!=typeof wp&&wp.heartbeat&&"function"==typeof wp.heartbeat.connectNow?wp.heartbeat.connectNow():window.location.href=wpdef_idle_params.login_url+"?interim-login=1"}function p(){"idle"!==a&&(a="idle",s("idle"),"undefined"==typeof wpdef_idle_params||wpdef_idle_params.stop||fetch(wpdef_idle_params.ajax_url+"?action=wpdef_logout",{method:"POST",credentials:"same-origin"}).then(function(){r(),wpdef_idle_params.stop=!0}).catch(function(){r(),wpdef_idle_params.stop=!0}))}function l(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];clearTimeout(t),e||function(){"idle"!==a||arguments.length>0&&void 0!==arguments[0]&&arguments[0]||(a="active",s("active"))}(),t=setTimeout(p,n)}var c=0;function u(){var e=Date.now();e-c<200||(c=e,l())}document.addEventListener("mousemove",u,{passive:!0}),document.addEventListener("wheel",u,{passive:!0}),document.addEventListener("scroll",u,{passive:!0}),document.addEventListener("keydown",l),document.addEventListener("mousedown",l),document.addEventListener("touchstart",l),document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&l()}),l(),d&&o?(o.onmessage=function(e){var t=e.data,n=t.state;t.timestamp;t.tabId!==i&&"active"===n&&l(!0)},window.addEventListener("pagehide",function(){o.close()})):console.warn("BroadcastChannel API is not supported in this browser. Multi-tab idle detection will not work.")}},e=>{var t;t=4028,e(e.s=t)}]);